﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.Cache.EasyCaching.Redis;

public class CacheConfig
{
    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; } = string.Empty;

    /// <summary>
    /// host
    /// </summary>
    public string Host { get; set; }=null!;

    /// <summary>
    /// 端口
    /// </summary>
    public int Port { get; set; } = 6379;

    /// <summary>
    /// 数据库访问层
    /// </summary>
    public int Database { get; set; } = 1;
}
